/*
 * RTSAI - Real-Time Strategy engine for AI research
 * Copyright(C) 2006 DIMAp-UFRN, licensed under LGPL
 *
 * Action definition
 */

#ifndef __ACTION_H_
#define __ACTION_H_

#include "Common.h"

class Action
{
    public:
        Action();
        virtual ~Action();

        /*! virtual method that will be implemented in Lua */
        virtual bool check_precondition ( Unit &u ) const { return false; }
        /*! virtual method that will be implemented in Lua */
        virtual void execute ( Unit &u, const float elapsed_time ) { }
};

#endif // __ACTION_H_
